package br.net.woodstock.tickettoride.api.core;

import java.util.Collection;
import java.util.Map;

import br.net.woodstock.rockframework.persistence.orm.QueryableRepository;

public interface SimpleQueryableRepository extends QueryableRepository {

	<T> T getSingle(String jpql, Map<String, Object> parameters);

	<T> T getSingle(String jpql, Map<String, Object> parameters, Map<String, Object> options);

	<T> Collection<T> getCollection(String jpql, Map<String, Object> parameters);

	<T> Collection<T> getCollection(String jpql, Map<String, Object> parameters, Map<String, Object> options);

	void executeUpdate(String jpql, Map<String, Object> parameters);

	void executeUpdate(String jpql, Map<String, Object> parameters, Map<String, Object> options);

}
